package com.baibei.model;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;

/**
 * Created by shenminjie on 2017/10/17.
 * mail:shenminjie@100bei.com
 */

public class FundTimeInfo implements Serializable, Parcelable {
    private String info;

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "FundTimeInfo{" +
                "info='" + info + '\'' +
                '}';
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.info);
    }

    public FundTimeInfo() {
    }

    protected FundTimeInfo(Parcel in) {
        this.info = in.readString();
    }

    public static final Parcelable.Creator<FundTimeInfo> CREATOR = new Parcelable.Creator<FundTimeInfo>() {
        @Override
        public FundTimeInfo createFromParcel(Parcel source) {
            return new FundTimeInfo(source);
        }

        @Override
        public FundTimeInfo[] newArray(int size) {
            return new FundTimeInfo[size];
        }
    };
}
